package vo;

public class Contract {  //合同表
    private int id;//编号
    private String name;//客户姓名
    private String address;//客户地址
    private String time;//签订时间
    private String custom_name;//客户的账号
    private int price;//总的金额
    private int inventory_id;//商品编号

    public Contract(int id, String name, String address, String time, String custom_name, int price, int inventory_id) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.time = time;
        this.custom_name = custom_name;
        this.price = price;
        this.inventory_id = inventory_id;
    }

    public Contract(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getCustom_name() {
        return custom_name;
    }

    public void setCustom_name(String custom_name) {
        this.custom_name = custom_name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getInventory_id() {
        return inventory_id;
    }

    public void setInventory_id(int inventory_id) {
        this.inventory_id = inventory_id;
    }
}
